| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | View Code Duplication | const DB = require('../../libraries/db') |
|
| 12 | list: async function (storeId) { |
||
| 13 | |||
| 14 | let result = await DB.readMysql.select( |
||
| 15 | '*' |
||
| 16 | ) |
||
| 17 | .from(table) |
||
| 18 | .where('store_id', storeId) |
||
| 19 | .where('status', '!=', -1) |
||
| 20 | |||
| 21 | return result |
||
| 22 | |||
| 23 | }, |
||
| 24 | |||
| 44 |